package org.xiaov.lunasql.engine.function;

import org.xiaov.lunasql.engine.ast.IntervalAdjust;

import java.util.List;

/**
 * <p>
 * DateSubFunc
 * </p>
 *
 * @author LunaSQL
 * @since 2024/12/15 0:15
 */
public class DateAddFunc extends DateOperateFunc {

    private final static String METHOD_NAME = "date_add";
    private final static String TARGET_METHOD_NAME = "";

    /**
     * 构造函数
     *
     * @param functions      functions
     * @param intervalAdjust intervalAdjust
     */
    public DateAddFunc(List<MySqlFunction> functions, IntervalAdjust intervalAdjust) {
        super("+", METHOD_NAME, TARGET_METHOD_NAME, functions,intervalAdjust);
    }
}
